package com.zto.sch.base.normal;

import org.junit.Test;

import java.util.Map;

/**
 * @program: sch-diy-parent
 * @description:
 * @author: sch
 * @create: 2021-03-29 14:54
 **/
public class TestBase {
    @Test
    public void test1() {
//        "i=？为什么
        int anInt = TestBase.getInt();
        System.out.println(anInt);

    }

    private static int getInt() {
        int i = 1;
        try {
            i = 2;
            return i;
        } catch (Exception e) {
        } finally {
            i = 3;
            System.out.println("finally");
        }
        return i;
    }
}
